//
//  AFNetWorking3.m
//  httpDemo
//
//  Created by yuzhanjie on 2018/4/30.
//  Copyright © 2018年 yuzhanjie. All rights reserved.
//

#import "AFNetWorking3.h"

//AFNetWorking 3.x版本

//在Xcode7.0之后,苹果废弃了NSURLConnection方法,数据请求使用NSURLSession,作为网络请求类第三方库使用量最大的AFN也及时的更新的新的版本——AFN 3.0版本。新的版本的里废弃了基于NSURLConnection封装的AFHTTPRequestOperationManager，转而使用基于NSURLSession封装的AFHTTPSessionManager了。

//AFHTTPSessionManager与AFHTTPRequestOperationManager基本一致，就不重复了

@interface AFNetWorking3 ()

@end

@implementation AFNetWorking3

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
